﻿using System;
using Hallenberg.SmartClient.IO;
using Hallenberg.SmartClient.Interfaces;

namespace Hallenberg.SmartClient.Test
{
    [Obsolete("Do not use", true)]
    public class ApplicationTestBase : BaseSmartClientApplication, ISmartClientApplication
    {
        private const string AssemblyPrefix = "Hallenberg";

        public ApplicationTestBase()
        {
            WorkItemController workItemController = new WorkItemController();
            
            workItemController.ModuleLoader.AutoLoadModules(this, new string[] { AssemblyPrefix });

            base.ApplicationStart();
        }

        public override string ResolveRelativePath(string relativePath)
        {
            return relativePath;
        }
    }
}
